<?php

use Faker\Generator as Faker;

$factory->define(App\Models\Renting::class, function (Faker $faker) {
    return [
        'openid'=>$faker->word,
        'truename'=>$faker->name(),
        'nickname'=>$faker->name(),
        'phone'=>$faker->phoneNumber,
        'email'=>$faker->email,
        'sex'=>['男','女'][rand(0,1)],
        'age'=>rand(20,50)
    ];
});
